package com.ruoyi.system.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 【请填写功能名称】对象 bm_paper
 * 
 * @author ruoyi
 * @date 2023-04-18
 */
@Data
public class BmPaper extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键Id */
    private Long paperId;

    /** 试卷标题 */
    @Excel(name = "试卷标题")
    private String paperTitle;

    /** 试卷类型 1-个人试卷  2-公开试卷 */
    @Excel(name = "试卷类型 1-个人试卷  2-公开试卷")
    private Long paperType;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String paperQuestionsUrl;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String paperAnswerUrl;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String paperQuestionsanswerUrl;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String extend1;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String extend2;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String extend3;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String extend4;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String extend5;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String extend6;

    private List<BmPaperContent> paperContentList;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("paperId", getPaperId())
            .append("paperTitle", getPaperTitle())
            .append("paperType", getPaperType())
            .append("paperQuestionsUrl", getPaperQuestionsUrl())
            .append("paperAnswerUrl", getPaperAnswerUrl())
            .append("paperQuestionsanswerUrl", getPaperQuestionsanswerUrl())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("extend1", getExtend1())
            .append("extend2", getExtend2())
            .append("extend3", getExtend3())
            .append("extend4", getExtend4())
            .append("extend5", getExtend5())
            .append("extend6", getExtend6())
            .toString();
    }
}
